<html>
	<head>
		<meta charset="utf-8"/>
		<title>BPicker</title>
		<link rel="stylesheet" type="text/css" href="./style.css"/>
	</head>
	<body>
		<h1>BPicker</h1>
		<p>Inherites from <a href="BObject.html">BObject</a></p>
		<h2>public</h2>
		<table id="public">
			<tr><td align="right"/><td><a href="#BPicker()">BPicker</a>();</td></tr>
			<tr><td align="right"/><td><a href="#BPicker(const BLine&)">BPicker</a>(const BLine& line);</td></tr>
			<tr><td align="right"/><td><a href="#~BPicker()">~BPicker</a>();</td></tr>
			<tr><td align="right">void </td><td><a href="#setLine(const BLine&)">setLine</a>(const BLine& line);</td></tr>
			<tr><td align="right">const BLine& </td><td><a href="#line()">line</a>() const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#exclude(BObject*)">exclude</a>(BObject* object);</td></tr>
			<tr><td align="right">bool </td><td><a href="#include(BObject*)">include</a>(BObject* object);</td></tr>
			<tr><td align="right">int </td><td><a href="#exclusionCount()">exclusionCount</a>() const;</td></tr>
			<tr><td align="right">BObject* </td><td><a href="#exclusion(int)">exclusion</a>(int index) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#clearExclusions()">clearExclusions</a>();</td></tr>
			<tr><td align="right">const BPickItem* </td><td><a href="#apply(BScene*)">apply</a>(BScene* scene);</td></tr>
			<tr><td align="right">const BPickItem* </td><td><a href="#apply(BNode*)">apply</a>(BNode* node);</td></tr>
			<tr><td align="right">const BPickItem* </td><td><a href="#apply(BShape*)">apply</a>(BShape* shape);</td></tr>
			<tr><td align="right">int </td><td><a href="#itemCount()">itemCount</a>() const;</td></tr>
			<tr><td align="right">const BPickItem* </td><td><a href="#item(int)">item</a>(int index) const;</td></tr>
		</table>
		<h2>protected</h2>
		<table id="protected"/>
		<div id="desc">
			<h2>Detailed Description : </h2>
			<p>BPicker is a convenient tool to pick scene item by a line. BViewer::pick() is using this class.</p>
			<p>See also : <a href="BPickItem.html">BPickItem</a></p>
		</div>
		<h2 id="docs">Member Function Documentation</h2>
		<div id="BPicker()">
			<h3>BPicker();</h3>
			<p>Constructs Picker.</p>
		</div>
		<div id="BPicker(const BLine&)">
			<h3>BPicker(const BLine& line);</h3>
			<p>Constructs picker with line. The line could be set by setLine().</p>
		</div>
		<div id="~BPicker()">
			<h3>~BPicker();</h3>
			<p>Destroys picker.</p>
		</div>
		<div id="setLine(const BLine&)">
			<h3>void setLine(const BLine& line);</h3>
			<p>The line will be tried to hit the scene nodes.</p>
		</div>
		<div id="line()">
			<h3>const BLine& line() const;</h3>
			<p>Get hit line.</p>
		</div>
		<div id="exclude(BObject*)">
			<h3>bool exclude(BObject* object);</h3>
			<p>Checks if the object is excluded from the hits.</p>
		</div>
		<div id="include(BObject*)">
			<h3>bool include(BObject* object);</h3>
			<p>Checks if the object is included in the hits.</p>
		</div>
		<div id="exclusionCount()">
			<h3>int exclusionCount() const;</h3>
			<p>Get number of excluded objects.</p>
		</div>
		<div id="exclusion(int)">
			<h3>BObject* exclusion(int index) const;</h3>
			<p>Get indexed object in excluded object list.</p>
		</div>
		<div id="clearExclusions()">
			<h3>void clearExclusions();</h3>
			<p>Clear excluded object list.</p>
		</div>
		<div id="apply(BScene*)">
			<h3>const BPickItem* apply(BScene* scene);</h3>
			<p>Start picking item under the scene. if hitting happened return the nearest item.</p>
		</div>
		<div id="apply(BNode*)">
			<h3>const BPickItem* apply(BNode* node);</h3>
			<p>Start picking item under the node, if hitting happened return the nearest item.</p>
		</div>
		<div id="apply(BShape*)">
			<h3>const BPickItem* apply(BShape* shape);</h3>
			<p>Start picking item for shape, if successed return shape.</p>
		</div>
		<div id="itemCount()">
			<h3>int itemCount() const;</h3>
			<p>Get number of hitting items.</p>
		</div>
		<div id="item(int)">
			<h3>const BPickItem* item(int index) const;</h3>
			<p>Get indexed item in hitting item list.</p>
		</div>
	</body>
</html>